﻿<UserControl x:Class="FIFP.DashBoard.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    mc:Ignorable="d"
    DataContext="{Binding AppointmentVM,Source={StaticResource ServiceLocator}}"
    d:DesignHeight="350" d:DesignWidth="790">

    <Grid x:Name="LayoutRoot">
        <telerik:RadScheduleView x:Name="radView" GroupHeaderStyleSelector="{StaticResource GroupHeaderStyleSelector}" CurrentDate="1/1/2012" AppointmentsSource="{Binding Appointments}" ResourceTypesSource="{Binding ResourceTypes}" GroupDescriptionsSource="{Binding GroupTypes}" >
            <telerik:RadScheduleView.ViewDefinitions>
                <telerik:DayViewDefinition VisibleDays="365"></telerik:DayViewDefinition>
                <telerik:WeekViewDefinition VisibleDays="365"></telerik:WeekViewDefinition>
                <telerik:MonthViewDefinition VisibleDays="365"></telerik:MonthViewDefinition>
                <telerik:TimelineViewDefinition VisibleDays="365"></telerik:TimelineViewDefinition>
            </telerik:RadScheduleView.ViewDefinitions>

            <!--<telerik:RadScheduleView.GroupDescriptionsSource>
                <telerik:GroupDescriptionCollection>
                    <telerik:DateGroupDescription></telerik:DateGroupDescription>
                    <telerik:ResourceGroupDescription ResourceType="Speaker"></telerik:ResourceGroupDescription>
                    <telerik:ResourceGroupDescription ResourceType="Room"></telerik:ResourceGroupDescription>
                </telerik:GroupDescriptionCollection>
            </telerik:RadScheduleView.GroupDescriptionsSource>-->

            <telerik:RadScheduleView.ActiveViewDefinition>
                <telerik:TimelineViewDefinition></telerik:TimelineViewDefinition>
            </telerik:RadScheduleView.ActiveViewDefinition>

        </telerik:RadScheduleView>
    </Grid>
</UserControl>
